Skip to content

Commit

Permalink
rlottie: remove dependancy of -stdc++14 flag to link against rlottie …
Browse files Browse the repository at this point in the history
…library.
  • Loading branch information
smohantty authored and hermet committed Mar 5, 2019
1 parent 9c94a57 commit 8047001
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ add_library(rlottie::rlottie ALIAS rlottie)
#declare target compilation options
target_compile_options(rlottie
PUBLIC
-std=c++14
PRIVATE
-Wall -fvisibility=hidden -O2)
-Wall -fvisibility=hidden -O2 -std=c++14)

#declare dependancy
set( CMAKE_THREAD_PREFER_PTHREAD TRUE )
Expand Down
2 changes: 1 addition & 1 deletion rlottie.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Description: A rlottie library
Version: @player_version@
Requires:
Libs: -L@LIBDIR@ -lrlottie
Cflags: -I@INCDIR@ -std=c++14
Cflags: -I@INCDIR@

0 comments on commit 8047001

Please sign in to comment.