Allow dynamic linking of framework to application
[oonf.git] / CMake.flags
index 920b001..fbae5b9 100644 (file)
@@ -59,6 +59,7 @@ ENDIF()
 IF (WIN32)
     ADD_DEFINITIONS(-D_WIN32_WINNT=0x0502)
     SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--enable-auto-import")
+    SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--export-all-symbols")
 ENDIF(WIN32)
 
 # set compiler flags that are supported