ughghghghh

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@562 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-01 16:10:16 +00:00
parent 20a86c9699
commit f34feaba6d
87 changed files with 12 additions and 7620 deletions

View File

@@ -109,24 +109,6 @@ if(CLASSIC)
)
endif()
if(USE_FDLIBM)
file(
GLOB
FDLIBM_SOURCES
external/fdlibm/*.c
)
target_sources(
Mw
PRIVATE
${FDLIBM_SOURCES}
)
target_include_directories(
Mw
PRIVATE
external/fdlibm
)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
target_sources(
Mw
@@ -145,10 +127,6 @@ else()
pkg_check_modules(XRENDER REQUIRED xrender)
pkg_check_modules(XCURSOR REQUIRED xcursor)
if(NOT USE_FDLIBM)
list(APPEND LIBRARIES m)
endif()
target_sources(
Mw
PRIVATE
@@ -161,7 +139,7 @@ else()
)
list(APPEND INCLUDE_DIRS ${X11_INCLUDE_DIRS} ${XRENDER_INCLUDE_DIRS} ${XCURSOR_INCLUDE_DIRS})
list(APPEND LIBRARY_DIRS ${X11_LIBRARY_DIRS} ${XRENDER_LIBRARY_DIRS} ${XCURSOR_LIBRARY_DIRS})
list(APPEND LIBRARIES ${X11_LIBRARIES} ${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES})
list(APPEND LIBRARIES ${X11_LIBRARIES} ${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} m)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
list(APPEND LIBRARIES dl)
endif()