From 48c9705a44567cc16584aa213000b61b65497a03 Mon Sep 17 00:00:00 2001 From: Foo Date: Sat, 20 Apr 2024 20:30:30 +0200 Subject: [PATCH] impl --- utils/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 14dcdb3..495b61c 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -17,13 +17,8 @@ target_include_directories(${LIBNAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ) -if(GJK_EPA_DIAGNOSTIC) -target_compile_definitions(${LIBNAME} PUBLIC - -D LOG_FOLDER="${CMAKE_CURRENT_SOURCE_DIR}/logs" -) -endif() - find_package(Python3 REQUIRED COMPONENTS Interpreter Development) -target_compile_definitions(${LIBNAME} PRIVATE +target_compile_definitions(${LIBNAME} PUBLIC +-D LOG_FOLDER="${CMAKE_CURRENT_SOURCE_DIR}/logs" -D PYTHON_CMD="${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/Visualize.py" )