Commit 8b82a22b authored by David Yip's avatar David Yip

Place build output in lib/ to more precisely target what we copy

parent 4c928f62
......@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(semver)
set(CMAKE_C_STANDARD 90)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
add_library(semver STATIC semver.c)
......
......@@ -30,8 +30,8 @@ class SemvercConan(ConanFile):
def package(self):
self.copy("*.h", dst="include/semver")
self.copy("*.a", dst="lib")
self.copy("*.lib", dst="lib")
self.copy("*.a", dst="lib", src="lib")
self.copy("*.lib", dst="lib", src="lib")
def package_info(self):
self.cpp_info.libs = ["semver"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment