Do not break backward compatibility
cxxopts.hpp is a single file and should not be in its own directory for its namespace.
This commit is contained in:
parent
151c72382b
commit
95a2a3dc7e
@ -51,7 +51,7 @@ endif()
|
|||||||
add_library(cxxopts INTERFACE)
|
add_library(cxxopts INTERFACE)
|
||||||
target_sources(
|
target_sources(
|
||||||
cxxopts INTERFACE
|
cxxopts INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cxxopts/cxxopts.hpp
|
${CMAKE_CURRENT_SOURCE_DIR}/include/cxxopts.hpp
|
||||||
)
|
)
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
cxxopts INTERFACE
|
cxxopts INTERFACE
|
||||||
|
|||||||
@ -24,7 +24,7 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include "cxxopts/cxxopts.hpp"
|
#include "cxxopts.hpp"
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
|
|
||||||
#include "cxxopts/cxxopts.hpp"
|
#include "cxxopts.hpp"
|
||||||
|
|
||||||
class Argv {
|
class Argv {
|
||||||
public:
|
public:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user