mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-09 21:31:24 +00:00
08fa2f887d
Before f65f9b9845ddf0a4050213cc36ef43c9c852a6c7 this would happen automatically (since the stream member was always valid). It's now a unique_ptr that's only initialized when the file is opened, so we need to add guards for all the operations.
12 lines
346 B
CMake
12 lines
346 B
CMake
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
|
include(PlatformGlob)
|
|
|
|
include_directories("${PROJECT_SOURCE_DIR}"
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/loguru/"
|
|
)
|
|
|
|
platform_glob(SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
|
|
|
|
add_library(utils OBJECT ${SOURCES})
|
|
target_link_libraries(utils PRIVATE)
|