From 28c7d533e9632f8fcc490866eee14cbfb4c064cd Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Thu, 22 Apr 2021 08:29:15 +0200 Subject: [PATCH] fixed compile defs for moench zmq --- slsDetectorCalibration/moenchExecutables/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorCalibration/moenchExecutables/CMakeLists.txt b/slsDetectorCalibration/moenchExecutables/CMakeLists.txt index 94ab12b5f..04dbf9a6c 100644 --- a/slsDetectorCalibration/moenchExecutables/CMakeLists.txt +++ b/slsDetectorCalibration/moenchExecutables/CMakeLists.txt @@ -3,11 +3,11 @@ find_package(TIFF REQUIRED) #Moench ZMQ add_executable(moenchZmqProcess moenchZmqProcess.cpp ../tiffIO.cpp) -add_compile_definitions(moenchZmqProcess NEWZMQ INTERP) +target_compile_definitions(moenchZmqProcess PRIVATE NEWZMQ INTERP) #Moench04 ZMQ add_executable(moench04ZmqProcess moenchZmqProcess.cpp ../tiffIO.cpp) -add_compile_definitions(moenchZmqProcess NEWZMQ INTERP MOENCH04) +target_compile_definitions(moench04ZmqProcess PRIVATE NEWZMQ INTERP MOENCH04) #Both executables should have the same includes and output dirs