Skip to content

Commit 48ed4e8

Browse files
committed
Enable macos support
1 parent 0ecd51c commit 48ed4e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ endif()
3030
if( ${TARGET_OS} STREQUAL "Linux" )
3131
set(OS "LINUX")
3232
set(OSNAME "Linux")
33+
elseif( ${TARGET_OS} STREQUAL "Darwin" )
34+
set(OS "OSX")
35+
set(OSNAME "macOS")
3336
else()
3437
message("Unsupported OS: ${TARGET_OS}" )
3538
return()

0 commit comments

Comments
 (0)