mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
12 lines
394 B
CMake
12 lines
394 B
CMake
|
######## Configure the file with build properties ########
|
||
|
|
||
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/BuildConfig.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/BuildConfig.cpp")
|
||
|
|
||
|
add_library(BuildConfig STATIC
|
||
|
BuildConfig.h
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/BuildConfig.cpp
|
||
|
)
|
||
|
|
||
|
target_link_libraries(BuildConfig Qt5::Core)
|
||
|
target_include_directories(BuildConfig PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|