From d5cfe298a3b91385ab387a2c6fbbdc64e921326e Mon Sep 17 00:00:00 2001 From: Christian Valente Date: Fri, 15 Nov 2024 15:40:35 +0200 Subject: [PATCH] Make definitions related to Pthread inclusion on Windows public, so that they affect anything linked with the relevant asl version. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cec4c32..63ecb1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -339,7 +339,7 @@ macro(createSingleASL name sourcedir sources) if(PAR_INCLUDE) target_include_directories(${name} PUBLIC ${PAR_INCLUDE}) endif() - target_compile_definitions(${name} PRIVATE ${MY_COMPILE_DEFINITIONS}) + target_compile_definitions(${name} PUBLIC ${MY_COMPILE_DEFINITIONS}) add_dependencies(${name} arith-h) target_link_libraries(${name} PUBLIC ${CMAKE_DL_LIBS})