Update Build.cmake (#377)

set target properties c++11
This commit is contained in:
Kjell Hedström : Available for new Engineering Leadership and Engineering Opportunities 2020-08-07 16:01:34 -06:00 committed by GitHub
parent 69db9f64df
commit fdc5572072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,9 @@ ENDIF()
CLEAN_DIRECT_OUTPUT 1
SOVERSION ${VERSION}
)
set_property(TARGET ${G3LOG_LIBRARY} PROPERTY CXX_STANDARD 11)
IF(APPLE)
SET_TARGET_PROPERTIES(${G3LOG_LIBRARY} PROPERTIES MACOSX_RPATH TRUE)
ENDIF()