Skip to content

Commit

Permalink
make Foo and Bar OBJECT library
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 11, 2023
1 parent 34306d0 commit b71218f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Bar/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_library(Bar "")
add_library(Bar OBJECT)

target_sources(Bar
PRIVATE
Expand Down
2 changes: 1 addition & 1 deletion Foo/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_library(Foo)
add_library(Foo OBJECT)
target_sources(Foo
PRIVATE
include/foo/Foo.hpp
Expand Down
2 changes: 1 addition & 1 deletion FooBar/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_library(FooBar "")
add_library(FooBar)

target_sources(FooBar
PRIVATE
Expand Down

0 comments on commit b71218f

Please sign in to comment.