mirror of https://github.com/WerWolv/ImHex.git
build: Move main romfs to main application
This commit is contained in:
parent
7859a9bb1f
commit
b4fa8bebe9
|
@ -17,7 +17,7 @@ add_executable(main ${APPLICATION_TYPE}
|
||||||
target_include_directories(main PUBLIC include)
|
target_include_directories(main PUBLIC include)
|
||||||
setupCompilerWarnings(main)
|
setupCompilerWarnings(main)
|
||||||
|
|
||||||
set(LIBROMFS_RESOURCE_LOCATION ${IMHEX_BASE_FOLDER}/resources/romfs)
|
set(LIBROMFS_RESOURCE_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/romfs)
|
||||||
set(LIBROMFS_PROJECT_NAME imhex)
|
set(LIBROMFS_PROJECT_NAME imhex)
|
||||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../lib/external/libromfs ${CMAKE_CURRENT_BINARY_DIR}/main/libromfs EXCLUDE_FROM_ALL)
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../lib/external/libromfs ${CMAKE_CURRENT_BINARY_DIR}/main/libromfs EXCLUDE_FROM_ALL)
|
||||||
set_target_properties(${LIBROMFS_LIBRARY} PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
set_target_properties(${LIBROMFS_LIBRARY} PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 157 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Loading…
Reference in New Issue