Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use of FindIgnOGRE2 on Windows if OGRE2 is not found #94

Merged
merged 1 commit into from
May 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions cmake/FindIgnOGRE2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ endif()
macro(append_library VAR LIB)
if(EXISTS "${LIB}")
list(APPEND ${VAR} ${LIB})
else()
message(FATAL_ERROR "Library does not exist: ${LIB}")
endif()
endmacro()

Expand Down Expand Up @@ -88,8 +86,6 @@ macro(select_lib_by_build_type LIBRARY_STR OUTPUT_VAR)
set(${OUTPUT_VAR} "${LIB_DEBUG}")
elseif(LIB_RELEASE)
set(${OUTPUT_VAR} "${LIB_RELEASE}")
else()
message(FATAL_ERROR "Can not find libraries in ${LIBRARY_STR}")
endif()
endmacro()

Expand Down