parent
df248712a5
commit
348401e7b8
@ -105,7 +105,7 @@ if (MSVC)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT WIN32 AND (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX))
|
if (NOT WIN32 AND (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX))
|
||||||
set(CMAKE_C_FLAGS "-fPIC")
|
add_definitions("-fPIC")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
check_include_files (endian.h HAVE_ENDIAN_H)
|
check_include_files (endian.h HAVE_ENDIAN_H)
|
||||||
|
Loading…
Reference in New Issue
Block a user