浏览代码

input_common: Use the CMake target instead of the variable.

Markus Wick 6 年之前
父节点
当前提交
94c2c828a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/input_common/CMakeLists.txt

+ 1 - 1
src/input_common/CMakeLists.txt

@@ -27,4 +27,4 @@ if(SDL2_FOUND)
 endif()
 
 create_target_directory_groups(input_common)
-target_link_libraries(input_common PUBLIC core PRIVATE common ${Boost_LIBRARIES})
+target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost)