[cmake] Remove unneeded fmt sources
parent
c465ab2615
commit
bcd7b97d89
|
@ -62,13 +62,6 @@ elseif(_UNIX AND ENABLE_THEORA)
|
|||
)
|
||||
endif()
|
||||
|
||||
if(NOT fmt_FOUND)
|
||||
list(APPEND CELESTIA_SOURCES
|
||||
${CMAKE_SOURCE_DIR}/thirdparty/fmt/src/format.cc
|
||||
${CMAKE_SOURCE_DIR}/thirdparty/fmt/src/posix.cc
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(celestia STATIC ${CELESTIA_SOURCES})
|
||||
#[[
|
||||
add_library(celestia SHARED ${CELESTIA_SOURCES})
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
if(NOT fmt_FOUND)
|
||||
list(APPEND FMT_SOURCES
|
||||
${CMAKE_SOURCE_DIR}/thirdparty/fmt/src/format.cc
|
||||
${CMAKE_SOURCE_DIR}/thirdparty/fmt/src/posix.cc
|
||||
)
|
||||
endif()
|
||||
|
||||
foreach(tool xyzv2bin bin2xyzv)
|
||||
add_executable(${tool} "${tool}.cpp" ${FMT_SOURCES})
|
||||
add_executable(${tool} "${tool}.cpp")
|
||||
install(TARGETS ${tool} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endforeach()
|
||||
|
|
Loading…
Reference in New Issue