Allow dynamic linking of framework to application
[oonf.git] / src / CMake.link_static
similarity index 89%
rename from src/CMake.link
rename to src/CMake.link_static
index b1cc0a9..2eaf9fa 100644 (file)
@@ -10,6 +10,10 @@ FOREACH(plugin ${OONF_STATIC_PLUGINS})
     TARGET_LINK_LIBRARIES(${OONF_EXE} static_${plugin})
 ENDFOREACH(plugin)
 
+# link core
+TARGET_LINK_LIBRARIES(${OONF_EXE} static_core)
+
+# link config and common API
 TARGET_LINK_LIBRARIES(${OONF_EXE} static_config)
 TARGET_LINK_LIBRARIES(${OONF_EXE} static_common)