remove boost stuff from mwiiniimporter cmake; set include path in windows

This commit is contained in:
Bret Curtis 2023-04-26 13:36:00 +02:00
parent 18af881f60
commit dd241dd1cd
2 changed files with 1 additions and 4 deletions

View file

@ -765,6 +765,7 @@ printf "cxxopts ${CXXOPTS_VER}... "
mv "cxxopts-${CXXOPTS_VER}" cxxopts
fi
export CXXOPTS_HOME="$(real_pwd)/cxxopts"
add_cmake_opts -DCXXOPTS_INCLUDE_DIRS="${CXXOPTS_HOME}/include"
echo Done.
}
cd $DEPS

View file

@ -14,14 +14,10 @@ openmw_add_executable(openmw-iniimporter
)
target_link_libraries(openmw-iniimporter
${Boost_PROGRAM_OPTIONS_LIBRARY}
${CXXOPTS_LIBRARY}
components
)
if (WIN32)
target_link_libraries(openmw-iniimporter
${Boost_LOCALE_LIBRARY})
INSTALL(TARGETS openmw-iniimporter RUNTIME DESTINATION ".")
endif(WIN32)