Fix hippomocks target

.h file shouldn't be listed as source to add_library(... INTERFACE)
fix-squashed-planets
MrSimbax 2020-07-11 10:53:13 +02:00
parent 9cf30fd9bc
commit 6c3012b8a1
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.17) cmake_minimum_required(VERSION 3.17)
add_library(hippomocks INTERFACE hippomocks.h) add_library(hippomocks INTERFACE)
target_include_directories(hippomocks INTERFACE ${CMAKE_CURRENT_LIST_DIR}) target_include_directories(hippomocks INTERFACE ${CMAKE_CURRENT_LIST_DIR})