all repos — mgba @ e629d65682299004052522329c510dfcb5113e11

mGBA Game Boy Advance Emulator

CMake: Fix perf.py install directory
Vicki Pfau vi@endrift.com
Sat, 21 Apr 2018 21:50:38 -0700
commit

e629d65682299004052522329c510dfcb5113e11

parent

2ca96050f6efed95f80009b08c0529641f029d49

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -889,7 +889,7 @@ add_executable(${BINARY_NAME}-perf ${PERF_SRC})

target_link_libraries(${BINARY_NAME}-perf ${BINARY_NAME} ${PERF_LIB} ${OS_LIB}) set_target_properties(${BINARY_NAME}-perf PROPERTIES COMPILE_DEFINITIONS "${OS_DEFINES};${FEATURE_DEFINES};${FUNCTION_DEFINES}") install(TARGETS ${BINARY_NAME}-perf DESTINATION bin COMPONENT ${BINARY_NAME}-perf) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tools/perf.py DESTINATION "${CMAKE_INSTALL_LIBDIR}/${BINARY_NAME}" COMPONENT ${BINARY_NAME}-perf) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tools/perf.py DESTINATION "${LIBDIR}/${BINARY_NAME}" COMPONENT ${BINARY_NAME}-perf) endif() if(BUILD_TEST)