Skip to content

Commit 2a9246f

Browse files
authored
Update CMakeLists.txt
1 parent 28336cc commit 2a9246f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ project(CmakeSubprojects)
33

44

55
set(CMAKE_CXX_STANDARD 11)
6-
add_definitions(-fpermissive)
6+
IF(UNIX)
7+
add_definitions(-fpermissive)
8+
ENDIF()
79

810
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
911
#####################

0 commit comments

Comments
 (0)