Skip to content

Commit f9fcdfc

Browse files
committed
vbflib [fix] windows build dependencies
1 parent 1f273af commit f9fcdfc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

VbfEditor/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ include_directories(../cxxopts/include)
2323
include_directories(../CRCpp/inc)
2424

2525
add_library(vbf VbfFile.cpp VbfFile.h)
26-
add_executable(vbfeditor main.cpp)
27-
target_link_libraries(vbfeditor vbf)
28-
2926
if(WIN32)
30-
target_link_libraries(vbfeditor ws2_32)
27+
target_link_libraries(vbf ws2_32)
3128
endif()
3229

30+
add_executable(vbfeditor main.cpp)
31+
target_link_libraries(vbfeditor vbf)
32+
3333
install(TARGETS vbfeditor)

0 commit comments

Comments
 (0)