mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
- updated for debian compliance
This commit is contained in:
@@ -411,7 +411,6 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER OR BUILD_MEGAGLEST_MAP_EDITOR OR BUILD_MEGAGLEST
|
||||
#MESSAGE(STATUS "Source files: ${MG_SOURCE_FILES}")
|
||||
#MESSAGE(STATUS "Include dirs: ${INCLUDE_DIRECTORIES}")
|
||||
|
||||
# FIXME: hackish, should be tested for
|
||||
IF(APPLE)
|
||||
SET(PLATFORM_SPECIFIC_DEFINES "-DHAVE_SYS_IOCTL_H")
|
||||
ELSEIF(WIN32)
|
||||
@@ -420,11 +419,6 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER OR BUILD_MEGAGLEST_MAP_EDITOR OR BUILD_MEGAGLEST
|
||||
SET(PLATFORM_SPECIFIC_DEFINES "-DX11_AVAILABLE -DHAVE_SYS_IOCTL_H")
|
||||
ENDIF()
|
||||
|
||||
# FIXME: hackish...
|
||||
# IF(WANT_STREFLOP)
|
||||
# SET(STREFLOP_PROPERTIES "-DSTREFLOP_SSE -DLIBM_COMPILING_FLT32")
|
||||
# ENDIF()
|
||||
|
||||
SET_SOURCE_FILES_PROPERTIES(${MG_SOURCE_FILES} PROPERTIES COMPILE_FLAGS
|
||||
"${PLATFORM_SPECIFIC_DEFINES} ${STREFLOP_PROPERTIES} ${CXXFLAGS}")
|
||||
|
||||
|
@@ -12,8 +12,6 @@ INCLUDE_DIRECTORIES(
|
||||
)
|
||||
|
||||
SET(STREFLOP_SRC ${STREFLOP_GLOBBED_CPP})
|
||||
# use SSE unconditionally (FIXME?)
|
||||
#SET_SOURCE_FILES_PROPERTIES(${STREFLOP_SRC} PROPERTIES COMPILE_FLAGS "-DSTREFLOP_SSE -DLIBM_COMPILING_FLT32 -O3 ${CXXFLAGS}")
|
||||
|
||||
ADD_LIBRARY(streflop STATIC EXCLUDE_FROM_ALL
|
||||
${STREFLOP_SRC}
|
||||
|
@@ -53,7 +53,6 @@ __ieee754_gammaf_r (Simple x, int *signgamp)
|
||||
return x - x;
|
||||
}
|
||||
|
||||
/* XXX FIXME. */
|
||||
return __ieee754_expf (__ieee754_lgammaf_r (x, signgamp));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user