X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=CMakeLists.txt;h=108de955a48b535ffb76521e9e590ae19f392cd1;hp=2e2df117fdd985f0376425fb001b90cc7dab2721;hb=9f46e1b71504b8593fb0f1d0c4b9c4373173750d;hpb=de0fed7ab15e03f57ee0feae1b9e9147065f18db diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e2df11..108de95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -257,14 +257,14 @@ execute_process ( ) list(APPEND ALL_DEFINITIONS HAVE_BUILD_INFO) -add_executable(novacoin-qt ${ALL_SOURCES}) +add_executable(novacoin-qt WIN32 ${ALL_SOURCES}) if (NOT MSVC) list(APPEND ALL_LIBRARIES ssp) list(APPEND ALL_DEFINITIONS _FORTIFY_SOURCE=2) if (WIN32) list(APPEND ALL_LIBRARIES mingw32) -set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static") +set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static") endif() endif()