Skip to content

Commit 29307b7

Browse files
JeiKeiLimJongkuk Lim
andauthored
Fix CMakeLists to take building example option argument. (#41)
* Fix CMakeLists to take building example option argument. * Change default build example option to OFF --------- Co-authored-by: Jongkuk Lim <[email protected]>
1 parent 65d61f4 commit 29307b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ write_basic_package_version_file(
1313
)
1414

1515
option(test "Build unit tests." OFF)
16+
option(BUILD_EXAMPLES "Build examples" OFF)
1617

1718
set(INSTALL_STATIC "Install static library" ON)
1819
set(INSTALL_SHARED "Install shared library" ON)
19-
set(BUILD_EXAMPLES "Build examples" ON)
2020

2121
set (CPACK_PACKAGE_NAME ${PROJECT_NAME})
2222
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "SLAMBOX SDK")

0 commit comments

Comments
 (0)