Color names, sort out cmake wackiness
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_search_module(POPT REQUIRED popt)
|
||||
|
||||
add_executable(mazemaker)
|
||||
target_sources(mazemaker PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/mazemaker.c)
|
||||
target_link_libraries(mazemaker PUBLIC mazemaker_shared ${POPT_LIBRARIES})
|
||||
target_include_directories(mazemaker PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../include PUBLIC ${POPT_INCLUDE_DIRS})
|
||||
target_compile_options(mazemaker PUBLIC ${POPT_CFLAGS_OTHER})
|
||||
include_directories("../include" ${POPT_INCLUDE_DIRS})
|
||||
|
||||
add_executable(mazemaker mazemaker.c)
|
||||
target_link_libraries(mazemaker mazemaker_shared ${POPT_LIBRARIES})
|
||||
|
||||
install (TARGETS mazemaker DESTINATION bin)
|
||||
|
||||
Reference in New Issue
Block a user