ENH: add windows apps to mingw
This commit is contained in:
parent
9c2894029e
commit
b4c7f843f9
|
@ -18,6 +18,7 @@ SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty
|
||||||
SET(CMAKE_LIBRARY_PATH_FLAG "-L")
|
SET(CMAKE_LIBRARY_PATH_FLAG "-L")
|
||||||
SET(CMAKE_LINK_LIBRARY_FLAG "-l")
|
SET(CMAKE_LINK_LIBRARY_FLAG "-l")
|
||||||
SET(CMAKE_EXTRA_LINK_EXTENSIONS ".lib") # MinGW can also link to a MS .lib
|
SET(CMAKE_EXTRA_LINK_EXTENSIONS ".lib") # MinGW can also link to a MS .lib
|
||||||
|
SET(CMAKE_CREATE_WIN32_EXE "-mwindows")
|
||||||
|
|
||||||
IF(MINGW)
|
IF(MINGW)
|
||||||
SET(CMAKE_FIND_LIBRARY_PREFIXES "lib" "")
|
SET(CMAKE_FIND_LIBRARY_PREFIXES "lib" "")
|
||||||
|
|
Loading…
Reference in New Issue