diff --git a/base/setup/usetup/CMakeLists.txt b/base/setup/usetup/CMakeLists.txt index 033c97287f0..9b746935671 100644 --- a/base/setup/usetup/CMakeLists.txt +++ b/base/setup/usetup/CMakeLists.txt @@ -2,6 +2,10 @@ set(CMAKE_C_LINK_EXECUTABLE " -o -Wl,-L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw") set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs -nostdlib -Wl,-entry,_NtProcessStartup -Wl,--enable-stdcall-fixup -Wl,--enable-auto-image-base -Wl,--kill-at -Wl,-T,${REACTOS_SOURCE_DIR}/global.lds") +include_directories(${REACTOS_SOURCE_DIR}/lib/newinflib) +include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib) +include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers) + add_executable(usetup WIN32 interface/usetup.c interface/devinst.c @@ -26,10 +30,13 @@ add_executable(usetup WIN32 progress.c registry.c settings.c -) + usetup.rc) -include_directories(${REACTOS_SOURCE_DIR}/lib/newinflib) -include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib) -include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers) -target_link_libraries(usetup mingw_main zlib newinflib ext2lib vfatlib ${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a - mingw_common -lmsvcrt) +target_link_libraries(usetup + mingw_main + zlib + newinflib + ext2lib + vfatlib + mingw_common + -lmsvcrt)