Set db_extractor to compile only on Windows.

This commit is contained in:
lzwdgc 2015-07-01 12:19:55 +03:00
parent f6f8b50eaf
commit dea9368cd3
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit f6aae55f91ac07cbdd286e96fb9cc5e278a4a6c5
Subproject commit 2d884b843a057c25159833226a4e2c73443d91eb

View file

@ -3,9 +3,11 @@ include_directories(common)
file(GLOB unpaker_src "unpaker/*")
add_executable(unpaker ${unpaker_src})
if (WIN32)
file(GLOB db_extractor_src "db_extractor/*")
add_executable(db_extractor ${db_extractor_src})
target_link_libraries(db_extractor common)
endif()
file(GLOB obj_extractor_src "obj_extractor/*")
add_executable(obj_extractor ${obj_extractor_src})