mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-30 08:04:30 +00:00
remove boost stuff from mwiiniimporter cmake; set include path in windows
This commit is contained in:
parent
18af881f60
commit
dd241dd1cd
2 changed files with 1 additions and 4 deletions
|
|
@ -765,6 +765,7 @@ printf "cxxopts ${CXXOPTS_VER}... "
|
||||||
mv "cxxopts-${CXXOPTS_VER}" cxxopts
|
mv "cxxopts-${CXXOPTS_VER}" cxxopts
|
||||||
fi
|
fi
|
||||||
export CXXOPTS_HOME="$(real_pwd)/cxxopts"
|
export CXXOPTS_HOME="$(real_pwd)/cxxopts"
|
||||||
|
add_cmake_opts -DCXXOPTS_INCLUDE_DIRS="${CXXOPTS_HOME}/include"
|
||||||
echo Done.
|
echo Done.
|
||||||
}
|
}
|
||||||
cd $DEPS
|
cd $DEPS
|
||||||
|
|
|
||||||
|
|
@ -14,14 +14,10 @@ openmw_add_executable(openmw-iniimporter
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(openmw-iniimporter
|
target_link_libraries(openmw-iniimporter
|
||||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
|
||||||
${CXXOPTS_LIBRARY}
|
|
||||||
components
|
components
|
||||||
)
|
)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
target_link_libraries(openmw-iniimporter
|
|
||||||
${Boost_LOCALE_LIBRARY})
|
|
||||||
INSTALL(TARGETS openmw-iniimporter RUNTIME DESTINATION ".")
|
INSTALL(TARGETS openmw-iniimporter RUNTIME DESTINATION ".")
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue