Diff of /CMakeLists.txt [489ef3] .. [c25164]  Maximize  Restore

Switch to side-by-side view

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -161,6 +161,11 @@
 		)
 	ENDIF(NOT BUILD_DLL)
   ENDIF(MSVC)
+  IF(MINGW)
+    IF(NOT BUILD_WINGUI)
+      ADD_DEFINITIONS(/D__Ansi__)
+    ENDIF()
+  ENDIF(MINGW)
 ENDIF(UNIX)
 
 ##
@@ -266,6 +271,9 @@
     add_library(pano13 SHARED ${pano13_hdr} ${pano13_res} ${pano13_src})
     target_link_libraries(pano13 ${_common_libs})
     set_target_properties(pano13 PROPERTIES VERSION "2.0.0" SOVERSION "2")
+    IF(MINGW)
+      set_target_properties(pano13 PROPERTIES PREFIX "")
+    ENDIF()
     install(TARGETS pano13 RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)
   ELSE(BUILD_DLL)
     #create and install static library

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks