Skip to content

Commit c2f247a

Browse files
committed
Fixing issue with iOS build with CMake if including CMakeLists.txt from another CMake project.
1 parent f40c39e commit c2f247a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set(ANDROID_STL_FLAGS)
99

1010
# Platform (not compiler) specific settings
1111
if(IOS)
12-
set(IOS_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../Build_iOS")
12+
set(IOS_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../Build_iOS")
1313
set(Boost_FRAMEWORK "-F ${IOS_SOURCE_DIR} -framework boost")
1414
set(Boost_INCLUDE_DIR "${IOS_SOURCE_DIR}/boost.framework/Headers")
1515

0 commit comments

Comments
 (0)