Some fixes for min gw (Thanks to Xan for the patch)

This commit is contained in:
Jan Möbius
2016-05-09 11:15:25 +02:00
parent 0d3cce6d0a
commit 5cebbd146f
4 changed files with 8 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ endmacro ()
# set directory structures for the different platforms
if (WIN32)
if (CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
set (ACG_PROJECT_DATADIR ".")
set (ACG_PROJECT_LIBDIR "lib")
set (ACG_PROJECT_BINDIR ".")

View File

@@ -15,7 +15,7 @@ if ( WIN32 )
set( ADDITIONAL_CMAKE_MODULE_LINKER_FLAGS )
if ( WINDOWS_LARGE_MEMORY_SUPPORT )
if( NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles")
if (MSVC)
list(APPEND ADDITIONAL_CMAKE_EXE_LINKER_FLAGS "/LARGEADDRESSAWARE" )
list(APPEND ADDITIONAL_CMAKE_SHARED_LINKER_FLAGS "/LARGEADDRESSAWARE" )
list(APPEND ADDITIONAL_CMAKE_MODULE_LINKER_FLAGS "/LARGEADDRESSAWARE" )