mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-15 01:43:25 +00:00
Set db_extractor to compile only on Windows.
This commit is contained in:
parent
f6f8b50eaf
commit
dea9368cd3
2 changed files with 3 additions and 1 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit f6aae55f91ac07cbdd286e96fb9cc5e278a4a6c5
|
Subproject commit 2d884b843a057c25159833226a4e2c73443d91eb
|
||||||
|
|
@ -3,9 +3,11 @@ include_directories(common)
|
||||||
file(GLOB unpaker_src "unpaker/*")
|
file(GLOB unpaker_src "unpaker/*")
|
||||||
add_executable(unpaker ${unpaker_src})
|
add_executable(unpaker ${unpaker_src})
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
file(GLOB db_extractor_src "db_extractor/*")
|
file(GLOB db_extractor_src "db_extractor/*")
|
||||||
add_executable(db_extractor ${db_extractor_src})
|
add_executable(db_extractor ${db_extractor_src})
|
||||||
target_link_libraries(db_extractor common)
|
target_link_libraries(db_extractor common)
|
||||||
|
endif()
|
||||||
|
|
||||||
file(GLOB obj_extractor_src "obj_extractor/*")
|
file(GLOB obj_extractor_src "obj_extractor/*")
|
||||||
add_executable(obj_extractor ${obj_extractor_src})
|
add_executable(obj_extractor ${obj_extractor_src})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue