diff --git a/src_cpp/CMakeLists.txt b/src_cpp/CMakeLists.txt index 66765f0..9d1ecc8 100644 --- a/src_cpp/CMakeLists.txt +++ b/src_cpp/CMakeLists.txt @@ -87,7 +87,9 @@ add_library(${PROJECT_NAME}_static STATIC ${libsrc}) set_target_properties(${PROJECT_NAME}_shared PROPERTIES DEFINE_SYMBOL SC_LITE_DLL) if(WIN32) target_link_libraries(${PROJECT_NAME}_shared Dwmapi) - install (FILES $ DESTINATION bin OPTIONAL) + if (!MINGW) + install (FILES $ DESTINATION bin OPTIONAL) + endif() elseif(APPLE) find_package(Threads REQUIRED) find_library(corefoundation_lib CoreFoundation REQUIRED) @@ -125,4 +127,4 @@ add_library(${PROJECT_NAME}_static STATIC ${libsrc}) ${CMAKE_THREAD_LIBS_INIT} ) endif() - \ No newline at end of file +