all repos — mgba @ 879d6983d180e597c06c1a46c528138328b47646

mGBA Game Boy Advance Emulator

CMake: Fix cpack
Vicki Pfau vi@endrift.com
Tue, 23 Jun 2020 23:39:42 -0700
commit

879d6983d180e597c06c1a46c528138328b47646

parent

a921c891876e2e7895374742592a66b7e970118e

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

jump to
M src/platform/test/CMakeLists.txtsrc/platform/test/CMakeLists.txt

@@ -8,7 +8,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}" RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}") install(TARGETS ${BINARY_NAME}-perf DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${BINARY_NAME}-perf) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tools/perf.py DESTINATION "${LIBDIR}/${BINARY_NAME}" COMPONENT ${BINARY_NAME}-perf) + install(FILES "${CMAKE_SOURCE_DIR}/tools/perf.py" DESTINATION "${LIBDIR}/${BINARY_NAME}" COMPONENT ${BINARY_NAME}-perf) endif() if(BUILD_TEST)