20 set (CMAKE_AUTOMOC ON) |
20 set (CMAKE_AUTOMOC ON) |
21 else() |
21 else() |
22 find_package (Qt4 REQUIRED) |
22 find_package (Qt4 REQUIRED) |
23 endif() |
23 endif() |
24 |
24 |
|
25 find_package (Libarchive) |
25 find_package (OpenGL REQUIRED) |
26 find_package (OpenGL REQUIRED) |
|
27 |
|
28 if (NOT LibArchive_FOUND) |
|
29 message (SEND_ERROR "Could not find Libarchive") |
|
30 endif() |
26 |
31 |
27 get_target_property (CODEGEN_EXE codegen LOCATION) |
32 get_target_property (CODEGEN_EXE codegen LOCATION) |
28 include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) |
33 include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) |
29 |
34 |
30 set (LDFORGE_SOURCES |
35 set (LDFORGE_SOURCES |