Skip to content

Commit

Permalink
wrap linux only
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Sep 21, 2023
1 parent 876eab4 commit 8daf62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ include_directories(

find_package(re CONFIG REQUIRED HINTS ../cmake)

if(CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_C_COMPILER_ID MATCHES "GNU")
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(HAVE_WRAP TRUE)
list(APPEND RE_DEFINITIONS HAVE_WRAP)
endif()
Expand Down

0 comments on commit 8daf62a

Please sign in to comment.