Skip to content

Commit 2821ead

Browse files
Merge pull request #640 from mathstuf/cmake-osx-deployment-target
cmake: forward the macOS deployment target to the TIME function test
2 parents fc55605 + dd0b532 commit 2821ead

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMAKE/CheckTimeFunction.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ macro(CHECK_TIME_FUNCTION FUNCTION VARIABLE)
1111
${PROJECT_BINARY_DIR}/INSTALL
1212
${PROJECT_SOURCE_DIR}/INSTALL
1313
TIMING secondtst_${FUNCTION}
14+
CMAKE_FLAGS
15+
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${CMAKE_OSX_DEPLOYMENT_TARGET}
1416
OUTPUT_VARIABLE OUTPUT)
1517

1618
if(RES)

0 commit comments

Comments
 (0)