Skip to content

Commit

Permalink
Window fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Sep 21, 2023
1 parent 0717997 commit 8f315ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Modules/FindLCMS2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ find_path(LCMS2_INCLUDE_DIR NAMES lcms2.h)
set(LCMS2_INCLUDE_DIRS ${LCMS2_INCLUDE_DIR})

if(CMAKE_BUILD_TYPE MATCHES "^Debug$")
find_library(LCMS2_LIBRARY NAMES lcms2d lcms2)
find_library(LCMS2_LIBRARY NAMES lcms2d lcms2 liblcms2d liblcms2)
else()
find_library(LCMS2_LIBRARY NAMES lcms2)
find_library(LCMS2_LIBRARY NAMES lcms2 liblcms2)
endif()
set(LCMS2_LIBRARIES ${LCMS2_LIBRARY})

Expand Down

0 comments on commit 8f315ec

Please sign in to comment.