Fix mingw error.
This commit is contained in:
parent
5bb6a54f61
commit
b19cd63558
@ -22,7 +22,9 @@ SET(SQUISH_SRCS
|
|||||||
|
|
||||||
ADD_LIBRARY(squish STATIC ${SQUISH_SRCS})
|
ADD_LIBRARY(squish STATIC ${SQUISH_SRCS})
|
||||||
|
|
||||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
IF(NOT WIN32)
|
||||||
|
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
SET_TARGET_PROPERTIES(squish PROPERTIES COMPILE_FLAGS -fPIC)
|
SET_TARGET_PROPERTIES(squish PROPERTIES COMPILE_FLAGS -fPIC)
|
||||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
ENDIF(NOT WIN32)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user