From 2d7d1ae1e21e8fe52df2c4a33e947b2ff6b07812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Fri, 5 Apr 2024 10:19:21 +1100 Subject: [PATCH] Don't install during build step This option set the target build location. This caused the build to output the binary to the final install directory, breaking some build system assumptions. Result seems to work just fine without it. --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e265232..9156cdf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,10 +166,6 @@ target_include_directories(whereami PUBLIC "third_party/whereami/src/") file(GLOB_RECURSE TANGERINE_FILES CONFIGURE_DEPENDS "tangerine/*.cpp") add_executable(tangerine ${TANGERINE_FILES}) -set_target_properties(tangerine - PROPERTIES - RUNTIME_OUTPUT_DIRECTORY - $) target_compile_definitions(tangerine PRIVATE "TANGERINE_PKGDATADIR_FROM_BINDIR=${PKGDATADIR_FROM_BINDIR}") target_link_libraries(tangerine PRIVATE