diff --git a/src/osgPlugins/curl/CMakeLists.txt b/src/osgPlugins/curl/CMakeLists.txt index 55c0eb74b..7f63b8c99 100644 --- a/src/osgPlugins/curl/CMakeLists.txt +++ b/src/osgPlugins/curl/CMakeLists.txt @@ -1,10 +1,14 @@ #this file is automatically generated +IF(WIN32) + SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:MSVCRT") +ENDIF(WIN32) + INCLUDE_DIRECTORIES( ${CURL_INCLUDE_DIRS} ) SET(TARGET_SRC ReaderWriterCURL.cpp ) -SET(TARGET_EXTERNAL_LIBRARIES ${CURL_LIBRARY} ) +SET(TARGET_LIBRARIES_VARS CURL_LIBRARY ) #### end var setup ### SETUP_PLUGIN(curl)