File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ set(NE_DEVELOPER_DEFAULTS "${is_root_project}" CACHE BOOL "Turns on default sett
1717
1818option (BUILD_TESTING "Build tests" "${NE_DEVELOPER_DEFAULTS} " )
1919option (BUILD_EXAMPLES "Build Examples" "${NE_DEVELOPER_DEFAULTS} " )
20+ option (BUILD_SHARED_LIBS "Build as shared library" ON )
2021option (NE_FORCE_TEST_COLOR "Force colorized unit test output" OFF )
2122
2223enable_testing ()
@@ -70,9 +71,8 @@ set(CPP_SOURCE_FILES
7071)
7172
7273# If we want to give the option to build a static library,
73- # leave off SHARED here and use BUILD_SHARED_LIBS to
74- # choose whether to add -D NODE_EDITOR_SHARED
75- add_library (nodes SHARED
74+ # set BUILD_SHARED_LIBS option to OFF
75+ add_library (nodes
7676 ${CPP_SOURCE_FILES}
7777 ${RESOURCES}
7878)
You can’t perform that action at this time.
0 commit comments