Skip to content

Commit

Permalink
Fix freetype link target if hunter enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
9prady9 committed Nov 17, 2018
1 parent dedc6ab commit 2df6a62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/backend/opengl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,17 @@ target_link_libraries(${BackendTarget}
glbinding::glbinding
$<$<NOT:$<CONFIG:Release>>:glbinding::glbinding-aux>
glm
Freetype::Freetype
Boost::boost
backend_interface
wtk_interface
c_api_interface
cpp_api_interface
)
if (FG_ENABLE_HUNTER)
target_link_libraries(${BackendTarget} PRIVATE freetype::freetype)
else ()
target_link_libraries(${BackendTarget} PRIVATE Freetype::Freetype)
endif ()

if(UNIX)
target_link_libraries(${BackendTarget}
Expand Down

0 comments on commit 2df6a62

Please sign in to comment.