Apple support for build system
This commit is contained in:
parent
f24d97b510
commit
f70a93cd82
1 changed files with 4 additions and 1 deletions
|
@ -161,9 +161,12 @@ add_library (mist
|
||||||
${libHeaders}
|
${libHeaders}
|
||||||
${libSources}
|
${libSources}
|
||||||
)
|
)
|
||||||
|
if (NOT APPLE)
|
||||||
|
set (LIBRT -lrt)
|
||||||
|
endif()
|
||||||
target_link_libraries(mist
|
target_link_libraries(mist
|
||||||
-lpthread
|
-lpthread
|
||||||
-lrt
|
${LIBRT}
|
||||||
)
|
)
|
||||||
install(
|
install(
|
||||||
FILES ${libHeaders}
|
FILES ${libHeaders}
|
||||||
|
|
Loading…
Add table
Reference in a new issue